SUBROUTINE DEFINITIONLIST4
* Display a definition list containing 3 items* Include the RealWeb definitions
INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP
* Start the HTML page.* Display the text 'Small Glossary' in the browser's title bar.CALL RW_START_HTML_PAGE("Small Glossary", "", "", "", "")*Set up the array of TERMS
TERMS=""
TERMS<1>="Cookie"
TERMS<2>="CSS"
TERMS<3>="Servlet"
*Set up the array of DEFINITIONS
DEFINITIONS=""
DEFINITIONS<1>="A small amount of named data stored by the web server " : ...
"and associated with a particular page or web site."
DEFINITIONS<2>="Cascading Style Sheet. The preferred method of " : ...
"specifying the appearance of a web page."
DEFINITIONS<3>="A server-side Java program that services HTTP " : ...
"requests and returns HTTP responses."
CLASS=""
*Create the definition listCALL RWA_MAKE_DLIST(BUF,TERMS,DEFINITIONS,CLASS)*Display the listCALL RW_PUT(BUF)*Complete the pageCALL RW_END_PAGE
RETURN
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><META NAME="Generator" CONTENT="Reality"><TITLE>Small Glossary</TITLE></HEAD><BODY><DL><DT>Cookie<DD>A small amount of named data stored by the web server and
associated with a particular page or web site.
<DT>CSS<DD>Cascading Style Sheet. The preferred method of specifying the
appearance of a web page.
<DT>Servlet<DD>A server-side Java program that services HTTP requests and
returns HTTP responses.
</DL></BODY></HTML>